package com.viego.financialrecommendsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.viego.financialrecommendsystem.core.BaseEntity;
import lombok.Data;

/**
 * 用户实体类
 * @author viego
 */
@Data
public class User extends BaseEntity {
    /*用户ID*/
    @TableId(type = IdType.AUTO)
    private Long userId;
    /*用户名*/
    private String username;
    /*密码*/
    private String password;
    /*电话*/
    private String phone;
    /*真实姓名*/
    private String realName;
    /*邮箱*/
    private String email;
    /*地址*/
    private String address;
    /*头像*/
    private String img;
    /*资产*/
    private int assets;
    /*状态0未激活1激活*/
    private int status;
    /*登录时的激活码*/
    private String code;
}
